/* 
 * File:   button.h
 * Author: Omar Sevilla
 *
 * Created on 9 de diciembre de 2013, 04:47 PM
 */

#ifndef BUTTON_H
#define	BUTTON_H

#ifdef	__cplusplus
extern "C" {
#endif
#include "system.h"
#include "stdtypedef.h"

#define BUTTON1     RC6
#define BUTTON2     RC7
#define BUTTON3     RC5

//#define BUTTON1     RA3
//#define BUTTON2     RA4
//#define BUTTON3     RC6
#define BUTTON1_FLAG    rs_ButtonFlags.bi.bit0
#define BUTTON2_FLAG    rs_ButtonFlags.bi.bit1
#define BUTTON3_FLAG    rs_ButtonFlags.bi.bit2


    extern void app_Button1(void);
    extern void app_Button2(void);
    extern void app_Button3(void);
    extern void app_Buttons(void);


#ifdef	__cplusplus
}
#endif

#endif	/* BUTTON_H */

